Crate iced_graphics

source ·
Expand description

A bunch of backend-agnostic types that can be leveraged to build a renderer for iced.

The native path of the Iced ecosystem

Re-exports

pub use backend::Backend;
pub use gradient::Gradient;
pub use layer::Layer;
pub use renderer::Renderer;
pub use window::compositor;

Modules

Align and position widgets.
Write a graphics backend.
Find system fonts or use the built-in ones.
For creating a Gradient.
Render images.
Organize rendering primitives into a flattened list of layers.
Display interactive elements on top of other widgets.
Create a renderer from a Backend.
Draw geometry using meshes of triangles.
Use the graphical widgets supported out-of-the-box.
Draw graphics to window surfaces.

Structs

A color in the sRGB color space.
A 2D point.
A rectangle.
An amount of space in 2 dimensions.
A 2D transformation matrix.
A 2D vector.
A viewing region for displaying computer graphics.

Enums

Alignment on the axis of a container.
An antialiasing strategy.
The background of some element.
An error that occurred while creating an application’s graphical context.
A font.
A rendering primitive.